package com.link.controller;

import com.link.service.GitPullService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName GitPullController
 * @Description TODO
 * @Author linK
 * @Date 2023/12/6 9:02
 * @Version 1.0
 **/
@RestController
@RequestMapping("git")
public class GitPullController {
    GitPullService gitPullService;

    @Autowired
    public void setGitPullService(GitPullService gitPullService) {
        this.gitPullService = gitPullService;
    }
    @GetMapping("pull")
    public String getPull(){
        return gitPullService.gitPull();
    }






}
